class Announcement < ActiveRecord::Migration
  def self.up
    create_table :announcements do |t|
      t.string :type
      t.string :title
      t.date :start
      t.date :end
      t.string :place
      t.string :description
      t.string :mail

      t.timestamps
    end
  end

  def self.down
    drop_table :announcements
  end
end
